package day12.KeJian;

import java.io.File;

public class Test {
    public static void main(String[] args) {
        m1();
        m2();
        m3();
    }
    public static void  m1() {
        File f = new File("c://cc//aa.txt");
        System.out.println(f);
    }
    public static void m2(){
        File f1 = new File("c://cc","aa.txt");
        System.out.println(f1);
    }
    public static void m3(){
        File f2 = new File("c://cc");
        File f3 = new File(f2,"aa.txt");
        System.out.println(f3);
    }
}
